ul.nav-tabs{
    position: absolute;
    top: 1px;
    z-index: 1;
}
ul.nav-tabs li{
    margin-top: -1px;
    display: inline-block;
    vertical-align: middle;
    height: 51px;
    line-height: 50px;
    background-color: #f6f6f6;
    border: 1px solid #ddd;
    font-size: 18px;
    text-align: center;
    width: 160px;
    float:left;
}
ul.nav-tabs li+li{
    border-left: none;
}
ul.nav-tabs li a{
    display: inline-block;
    vertical-align: middle;
    line-height: 49px;
    color: #555;
    width:100%;
}
ul.nav-tabs li.disabled a{
    cursor:not-allowed;
}
ul.nav-tabs li.active{
    background-color: #fff;
    border-radius: 2px 2px 0px 0;
    border-bottom: none;
}
.m-tab .tab-content{
    background: #fff;
    border: 1px solid #ddd;
    min-height: 300px;
}

ul.nav-tabs.nav-justified{
    display: flex;
    flex-direction: row;

}
ul.nav-tabs.nav-justified{
    position: relative;
    display: flex;
    flex-direction: row;
}
ul.nav-tabs.nav-justified li{
    display: inline-block;
    vertical-align: middle;
    width: 100%;
    height: 50px;
    line-height: 50px;
    background-color: #f4f4f4;
    border-bottom: 1px solid #e4e4e4;
    border-top: 1px solid #f4f4f4;
    font-size: 18px;
    text-align: center;
}
ul.nav-tabs.nav-justified li a{
    display: inline-block;
    width: 100%;
    line-height: 50px;
    color: #555;
    padding: 0;
}
ul.nav-tabs.nav-justified li.active{
    background-color: #fff;
    border-radius: 2px 2px 0px 0;
    border-bottom: none;
}
ul.nav-tabs.nav-justified .tab-content .table-pane{
    height:100%;
}
ul.nav-tabsnav-justified li+li{
    border-left: 1px solid #f4f4f4;
}
.m-tab .tab-content .table-pane{
    display: none;
}
.m-tab .tab-content div.active{
    display: block;
}